using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("OverlayUI")]
	public class OverlayUI : MonoBehaviour
	{
		public CanvasAnchors m_heightScale => method_3<CanvasAnchors>("m_heightScale");

		public CanvasAnchors m_widthScale => method_3<CanvasAnchors>("m_widthScale");

		public Transform m_BoneParent => method_3<Transform>("m_BoneParent");

		public GameObject m_clickBlocker => method_3<GameObject>("m_clickBlocker");

		public GameObject m_QuestProgressToastBone => method_3<GameObject>("m_QuestProgressToastBone");

		public Camera m_UICamera => method_3<Camera>("m_UICamera");

		public Camera m_PerspectiveUICamera => method_3<Camera>("m_PerspectiveUICamera");

		public bool m_clickBlockerRequested => method_2<bool>("m_clickBlockerRequested");

		public OverlayUI(IntPtr address, string className)
			: base(address, className)
		{
		}

		public OverlayUI(IntPtr address)
			: this(address, "OverlayUI")
		{
		}

		public static OverlayUI Get()
		{
			return MonoClass.smethod_15<OverlayUI>(TritonHs.MainAssemblyPath, "", "OverlayUI", "Get", Array.Empty<object>());
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Update()
		{
			method_8("Update");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void AddGameObject(GameObject go, CanvasAnchor anchor, bool destroyOnSceneLoad, CanvasScaleMode scaleMode)
		{
			method_8("AddGameObject", go, anchor, destroyOnSceneLoad, scaleMode);
		}

		public Vector3 GetRelativePosition(Vector3 worldPosition, Camera camera, Transform bone, float depth)
		{
			return method_11<Vector3>("GetRelativePosition", new object[4] { worldPosition, camera, bone, depth });
		}

		public void DestroyOnSceneLoad(GameObject go)
		{
			method_8("DestroyOnSceneLoad", go);
		}

		public void DontDestroyOnSceneLoad(GameObject go)
		{
			method_8("DontDestroyOnSceneLoad", go);
		}

		public Transform FindBone(string name)
		{
			return method_14<Transform>("FindBone", new object[1] { name });
		}

		public void RequestActivateClickBlocker()
		{
			method_8("RequestActivateClickBlocker");
		}

		public void OnSceneChange(SceneMgr.Mode mode, PegasusScene scene, object userData)
		{
			method_8("OnSceneChange", mode, scene, userData);
		}

		public void WillReset()
		{
			method_8("WillReset");
		}
	}
}
